package locks;



/**
 * Created by RXJ on 2018/3/7.
 */
public class locksTest {

    public static final int w= 4;
    public  static String  test(){
        String s = "0";

        return  s;
    }

    public static  void main(String[] args){
        class Foo{
            public int i=0xFFFFFFF1;
        }
        Object o  = new Foo();
        Foo foo = (Foo) o;
        System.out.println(foo.i);

        String a = "a";
        switch (a){
            case "b":
                System.out.println(a);
                break;
            case "a":
                System.out.println(a);
                break;
            default:
                System.out.println(a);
        }
    }

}
